﻿<%@ page title="" language="C#" masterpagefile="~/master/amc_app.master" autoeventwireup="true" inherits="pages_customer, App_Web_pzmkbaed" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../App_Themes/main/cusTablePaging.css" rel="stylesheet" type="text/css" />
    <script src="../_scripts/app/addcustomer.js" type="text/javascript"></script>
    <link href="../App_Themes/main/addcustomer.css" rel="stylesheet" type="text/css" />
    <link href="../App_Themes/main/PredSrhChgLoc.css" rel="stylesheet" type="text/css" />
    <script src="../_scripts/app/predictiveSearch.js" type="text/javascript"></script>
    <script src="../_scripts/app/manageCustomer.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="addCustomerContentContainer" style="width:100%;">
    <div class="customerSearchContainer">
        <div class="customerSearchTitleDiv">
            <span>Find Customer</span>
        </div>
        <%--<div class="customerSearchFormDiv">
            <div id="divTxtCusName" class="customerSearchFormInputDiv">
                <input id="txtLname" type="text" class="addCustomerFormInput" onkeyup="javascript:NumberCheckSPChangeLocation(event, this, MainSearch_LocationRefresh,true);return submitButton(event,$('divGobtn'));" />
                <div class="adminColorButton" style="margin-left: 0px;">Search</div>
            </div>
        </div>--%>
        <div id="div3" class="Thm_MDM_HdRghtSlt">
                <%--<span class="Thm_MDM_HdRghtS;ltSpn">Search</span> --%>
                <input id="txtSearchID" type="text" value="Type Customer ID" onfocus="if(this.value=='Type Customer ID') this.value='';" onblur="if(this.value=='') this.value='Type Customer ID';" maxlength="200"/>
                <div onclick="searchByCusID();" class="LHS_SearchDDIcon">
                <span style="color: white;float: left;font-weight: 600;margin-left: 4px;margin-top: 7px; font-family:Arial;">GO</span>
                </div>
            </div>
        <div id="divTxtCusName" class="Thm_MDM_HdRghtSlt">
                <%--<span class="Thm_MDM_HdRghtS;ltSpn">Search</span> --%>
                <input id="txtThmSearchBox" type="text" value="Type Customer Name" onkeyup="javascript:NumberCheckSPChangeLocation(event, this, MainSearch_LocationRefresh,true);return submitButton(event,$('divGobtn'));" onfocus="if(this.value=='Type Customer Name') this.value='';" onblur="if(this.value=='') this.value='Type Customer Name';" maxlength="200"/>
                <div onclick="searchByName();" class="LHS_SearchDDIcon">
                <span style="color: white;float: left;font-weight: 600;margin-left: 4px;margin-top: 7px; font-family:Arial;">GO</span>
                </div>
            </div>
            <div id="div1" class="Thm_MDM_HdRghtSlt">
                <%--<span class="Thm_MDM_HdRghtS;ltSpn">Search</span> --%>
                <input id="txtSearchMobile" type="text" value="Type Mobile Number" onfocus="if(this.value=='Type Mobile Number') this.value='';" onblur="if(this.value=='') this.value='Type Mobile Number';" maxlength="200"/>
                <div onclick="searchByMobile();" class="LHS_SearchDDIcon">
                <span style="color: white;float: left;font-weight: 600;margin-left: 4px;margin-top: 7px; font-family:Arial;">GO</span>
                </div>
            </div>
            <div id="div2" class="Thm_MDM_HdRghtSlt">
                <%--<span class="Thm_MDM_HdRghtS;ltSpn">Search</span> --%>
                <input id="txtSearchEmail" type="text" value="Type Email ID" onfocus="if(this.value=='Type Email ID') this.value='';" onblur="if(this.value=='') this.value='Type Email ID';" maxlength="200"/>
                <div onclick="searchByEmail();" class="LHS_SearchDDIcon">
                <span style="color: white;float: left;font-weight: 600;margin-left: 4px;margin-top: 7px; font-family:Arial;">GO</span>
                </div>
            </div>
        <%--<div class="customerSearchFormDiv" style="width:100%;">
            <span>&nbsp;</span>
            <div class="adminColorButton" style="margin-left: 0px;">Search</div>
        </div>--%>
    </div>
    <div class="customerAddNewCustomer">
        <%--<div class="adminGrayButton" style="margin-left: 0px;">Delete Customer</div>--%>
        <div class="adminColorButton" style="margin-left: 15px;" onclick="fnLoadNewCustomerForm();">Add New Customer</div>
    </div>
    <div class="customerGridContainer">
        <div class="pendingCaseGridContainer" style="margin-left:10px;">
            <div class="pendingCaseGridContainerDiv">
                <div class="pendingCaseGridHeader" style="width:980px;">
                    <span class="dashboardAlertText">Customers</span>
                </div>
                <%--<div class="pendingCaseGridTblHeader" style="width: 1000px;">
                    <span class="pendingCaseGridTblText">Customer ID</span>
                    <span class="pendingCaseGridTblText">Name</span>
                    <span class="pendingCaseGridTblText" style="width: 150px;">Location</span>
                    <span class="pendingCaseGridTblText" style="width: 290px;">Email</span>
                    <span class="pendingCaseGridTblText" style="width: 100px;">Mobile</span>
                </div>--%>
                <div id="allCustomerGrid" class="pendingCaseRepeaterDiv" style="height:auto;">
                    <asp:PlaceHolder ID="phAllCustomerGrid" runat="server"></asp:PlaceHolder>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        defaultLoad();
        cusid = getUrlVars()["cid"];
        $('#txtSearchID').val("Type Customer ID");
        $('#txtThmSearchBox').val("Type Customer Name");
        $('#txtSearchMobile').val("Type Mobile Number");
        $('#txtSearchEmail').val("Type Email ID");
    });
</script>
</asp:Content>

